
export default {
  namespaced: true,
  state: {
    count: 0,
  },
  actions: {
    increment(context) {
      context.commit('increment');
    },
  },
  getters: {
    autoIncrement(state) {
      return state.count * 10;
    },
  },
  mutations: {
    increment(state) {
      state.count = state.count + 1;
    },
  },
};
